package com.work.farm.service;

import com.github.pagehelper.Page;
import com.work.farm.pojo.TCustFarmlandCropsEntity;
import com.work.farm.pojo.TCustFarmlandEntity;
import com.work.farm.pojo.TCustFarmlandHistoryEntity;

import java.util.List;
import java.util.Map;

public interface FarmLandService {

    void addFarmLand(TCustFarmlandEntity tCustFarmlandEntity);

    void deleteFarmLand(Integer id);

    Page findByPage(Integer pageNum, Integer pageSize, Map searchMap);

    void updateFarmLand(TCustFarmlandEntity tCustFarmlandEntity);

    Map<String,Object> findById(Integer id);

    //查询大田历史信息
    List<TCustFarmlandHistoryEntity> findHistory(Integer fid);
}
